inherited fmPayBalanceInfo: TfmPayBalanceInfo
  Caption = #24212#20184#24080#27454#20914#36134
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    inherited lblCreateDate: TRzDBLabel
      Left = 748
      Top = 413
      DataField = 'dpb_createdate'
      DataSource = dsBase
      ExplicitLeft = 748
      ExplicitTop = 413
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 748
      Top = 393
      DataField = 'dpb_createstaff'
      DataSource = dsBase
      ExplicitLeft = 748
      ExplicitTop = 393
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 612
      Top = 413
      DataField = 'dpb_modifydate'
      ExplicitLeft = 612
      ExplicitTop = 413
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 612
      Top = 393
      DataField = 'dpb_modifystaff'
      ExplicitLeft = 612
      ExplicitTop = 393
    end
    object cbxStaff: TRzDBComboBox [4]
      Left = 465
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dpb_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 7
      OnDropDown = cbxStaffDropDown
    end
    object cxDBComboBox2: TRzDBComboBox [5]
      Left = 268
      Top = 52
      Width = 121
      Height = 21
      DataField = 'dpb_matchtype'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 5
      Items.Strings = (
        #20379#24212#21830
        #23458#25143
        #20854#20182#24448#26469
        #20854#20182)
      Values.Strings = (
        #20379#24212#21830
        #23458#25143
        #20854#20182#24448#26469
        #20854#20182)
    end
    object cbxCurrency: TRzDBComboBox [6]
      Left = 673
      Top = 52
      Width = 60
      Height = 21
      DataField = 'dpb_mcode'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 11
      OnChange = cbxCurrencyChange
      OnDropDown = cbxCurrencyDropDown
    end
    object cxDBTextEdit3: TRzDBEdit [7]
      Left = 736
      Top = 52
      Width = 58
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_rate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 12
    end
    object cxDBMemo1: TRzDBMemo [8]
      Left = 71
      Top = 100
      Width = 121
      Height = 21
      DataField = 'dpb_remark'
      DataSource = dsBase
      TabOrder = 3
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object edtAmt: TRzDBNumericEdit [9]
      Left = 268
      Top = 76
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_amt'
      ReadOnly = True
      Alignment = taLeftJustify
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 6
      IntegersOnly = False
      DisplayFormat = ' ,0.00; -,0.00'
    end
    object cxDBTextEdit1: TRzDBEdit [10]
      Left = 71
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_no'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 0
    end
    object cxDBDateEdit1: TRzDBDateTimeEdit [11]
      Left = 268
      Top = 28
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_date'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 4
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object RzDBEdit2: TRzDBEdit [12]
      Left = 465
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_bankno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 9
    end
    object cxDBTextEdit2: TRzDBEdit [13]
      Left = 465
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_matchname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 8
    end
    inherited pcDetails: TcxPageControl
      Top = 158
      Width = 819
      TabOrder = 14
      ExplicitTop = 158
      ExplicitWidth = 819
      ClientRectRight = 819
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 819
        inherited grdDetails: TcxGrid
          Width = 819
          ExplicitWidth = 819
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                Column = tvDetailsAmt
              end
              item
                Kind = skSum
              end
              item
                Kind = skCount
                Column = tvDetailsBnNo
              end>
            Bands = <
              item
              end
              item
                Visible = False
              end>
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 0
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsBnNo: TcxGridDBBandedColumn
              Caption = #24212#20184#36134#27454#21333#21495
              DataBinding.FieldName = 'dpbi_accountno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.ReadOnly = True
              Properties.OnButtonClick = tvDetailsColumn1PropertiesButtonClick
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsAmt: TcxGridDBBandedColumn
              Caption = #20914#36134#37329#39069
              DataBinding.FieldName = 'dpbi_amt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsBalance: TcxGridDBBandedColumn
              Caption = #24050#20914#36134#37329#39069
              DataBinding.FieldName = 'dpbi_balance'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Editing = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'dpbi_remark'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsAccountAmt: TcxGridDBBandedColumn
              Caption = #36134#27454#37329#39069
              DataBinding.FieldName = 'dpib_accountamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Editing = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsBalance2: TcxGridDBBandedColumn
              Caption = #26410#20914#36134#37329#39069
              DataBinding.FieldName = 'dpbi_balance2'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Editing = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsBillNo: TcxGridDBBandedColumn
              Caption = #21407#22987#21333#25454#21495
              DataBinding.FieldName = 'dpbi_billno'
              Options.Editing = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
          end
        end
      end
    end
    object cbxCompany: TRzDBComboBox [15]
      Left = 71
      Top = 76
      Width = 120
      Height = 21
      DataField = 'dpb_osimpname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 2
      OnChange = cbxCompanyChange
      OnDropDown = cbxCompanyDropDown
    end
    object cbxType: TRzDBComboBox [16]
      Left = 673
      Top = 28
      Width = 121
      Height = 21
      DataField = 'dpb_type'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 10
      Items.Strings = (
        #29616#37329
        #25903#31080
        #30005#27719
        #36716#36134
        #39044#20184#27454)
      Values.Strings = (
        #29616#37329
        #25903#31080
        #30005#27719
        #36716#36134
        #39044#20184#27454)
    end
    object RzDBEdit1: TRzDBEdit [17]
      Left = 71
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dpb_preaccountno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    object RzDBMemo1: TRzDBMemo [18]
      Left = 673
      Top = 76
      Width = 121
      Height = 21
      DataField = 'dpb_billno'
      DataSource = dsBase
      TabOrder = 13
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    inherited lcgRoot: TdxLayoutGroup
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Text = 'afdskfjahksdjfhkajsdf'
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Text = 'afdskfjahksdjfhkajsdf'
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 2
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 0
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 1
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #21333#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem11: TdxLayoutItem
      CaptionOptions.Text = #39044#20184#27454#21333#21495
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoLeft
      Control = RzDBEdit1
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem11CaptionClick
      Index = 1
    end
    object lcMainItem9: TdxLayoutItem
      CaptionOptions.Text = #20844#21496
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cbxCompany
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem12: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoLeft
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem3: TdxLayoutItem
      CaptionOptions.Text = #26085#26399
      Parent = lcgBaseInfoMiddle
      Control = cxDBDateEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#23545#35937
      Parent = lcgBaseInfoMiddle
      Control = cxDBComboBox2
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem13: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#37329#39069
      Parent = lcgBaseInfoMiddle
      Control = edtAmt
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem4: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#20154#21592
      Parent = lcgBaseInfoRight
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem2: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#21333#20301
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = cxDBTextEdit2
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem2CaptionClick
      Index = 1
    end
    object lcMainItem8: TdxLayoutItem
      CaptionOptions.Text = #38134#34892#20973#35777
      Parent = lcgBaseInfoRight
      Control = RzDBEdit2
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem10: TdxLayoutItem
      CaptionOptions.Text = #20914#36134#31867#22411
      Parent = lcgBaseInfoLast
      Control = cbxType
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup1: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoLast
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem6: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #24065#21035
      Parent = lcMainGroup1
      Control = cbxCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem7: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup1
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem14: TdxLayoutItem
      CaptionOptions.Text = #30456#20851#21333#25454#21495
      Parent = lcgBaseInfoLast
      Control = RzDBMemo1
      Index = 2
    end
  end
  inherited pnlRight: TPanel
    inherited frameAttachs: TfrmAttachs
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited BarManager: TdxBarManager
    UseSystemFont = False
    Top = 216
    DockControlHeights = (
      0
      0
      26
      0)
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dpb_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpb_no'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_date'
        DataType = datDateTime
      end
      item
        Name = 'dpb_type'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_preaccountid'
        DataType = datGuid
      end
      item
        Name = 'dpb_preaccountno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_matchtype'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_matchid'
        DataType = datGuid
      end
      item
        Name = 'dpb_matchno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dpb_matchname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_amt'
        DataType = datFloat
      end
      item
        Name = 'dpb_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpb_rate'
        DataType = datFloat
      end
      item
        Name = 'dpb_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpb_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dpb_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'dpb_bankno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpb_billno'
        DataType = datString
        Size = 200
      end
      item
        Name = 'dpb_oid'
        DataType = datGuid
      end
      item
        Name = 'dpb_osimpname'
        DataType = datString
        Size = 30
      end>
    LogicalName = 'd_paybalance'
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dpbi_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpbi_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpbi_accountid'
        DataType = datGuid
      end
      item
        Name = 'dpbi_accountno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpib_accountamt'
        DataType = datFloat
      end
      item
        Name = 'dpbi_balance'
        DataType = datFloat
      end
      item
        Name = 'dpbi_balance2'
        DataType = datFloat
      end
      item
        Name = 'dpbi_amt'
        DataType = datFloat
      end
      item
        Name = 'dpbi_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpbi_billno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpbi_billid'
        DataType = datGuid
      end>
    MasterMappingMode = mmWhere
    BeforePost = tblDetailsBeforePost
    MasterSource = dsBase
    MasterFields = 'dpb_id'
    DetailFields = 'dpbi_pid'
    LogicalName = 'd_paybalanceitem'
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
end
